﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BaiTu.Logging
{
    /// <summary>
    /// NullLogger factory工厂
    /// </summary>
    public class NullLoggerFactory:ILogging.ILoggerFactory
    {
        /// <summary>
        /// 创建一个日志管理器
        /// </summary>
        /// <param name="type"></param>
        /// <returns></returns>
        public ILogging.ILogger CreateLogger(Type type)
        {
            return NullLogger.Instance;
        }


        public ILogging.ILogger CreateLogger(string name)
        {
            return NullLogger.Instance;
        }
    }
}
